home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
bytesc88.arc
/
UNLINK.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
384b
|
18 lines
#define NOCCARGC /* no arg count passing */
#include stdio.h
#include clib.def
/*
** Unlink (delete) the named file.
** Entry: fn = file name.
** May be prefixed by letter of drive.
** Returns NULL on success, else ERR.
*/
unlink(fn) char *fn; {
return(Umsdos(fn,0,0,DELFIL));
}
#asm
_delete equ _unlink
PUBLIC _delete
#endasm